/* 版心 */
.container{
    width: 1240px;
    margin: 0 auto;
}
/* 网页的头部 */
header{
    height: 52px;
    background-color: #333;
}
header .container{
    height: 52px;
    /* background-color: orange; */
}
header .container ul li{
    float: left;
    height: 52px;
    line-height: 52px;
    font-size: 14px;
    color: #666;
}
header .container ul li a{
    display: inline-block;
    height: 52px;
    color: #dcdcdc;
    padding: 0 16px;
}
header .container ul li a:hover{
    color: #27ba9b;
}
header .container ul li:nth-last-child(1) a{
    padding-right: 0;
}
/* header .container ul li a span{
    display: inline-block;
    width: 11px;
    height: 16px;
    margin-top: -3px;
    margin-right: 8px;
    vertical-align: middle;
    background: url(./images/sprites.png)-160px -70px; 
}*/
header .container ul li:last-child a::before{
    content: '';
    display: inline-block;
    width: 11px;
    height: 16px;
    margin-top: -3px;
    margin-right: 8px;
    vertical-align: middle;
    background: url(./images/sprites.png)-160px -70px;
}
/* 网页的logo和导航栏------------------------------------------------------ */
.xtx-main-nav{
    height: 130px;
    /* background-color: pink; */
    box-sizing: border-box;
    padding-top: 30px;
}
.xtx-main-nav .logo{
    width: 207px;
    height: 70px;
    /* background-color: yellow; */
    margin-right: 40px;
}
.xtx-main-nav .logo a{
    display: block;
    height: 70px;
    background: url(./images/logo.png);
    background-size: 100% 100%;
    font-size: 0;
    margin-left: 25px;
}

.xtx-main-nav .nav li{
    float: left;
    line-height: 70px;
    margin-right: 48px;
}
.xtx-main-nav .nav li a:hover{
    padding-bottom: 7px;
    color: #27ba9b;
    border-bottom: 1px solid #27ba9b;
}
.xtx-main-nav .search{
    position: relative;
    width: 172px;
    height: 30px;
    background-color: yellow;
    margin-left: 34px;
    margin-top: 24px;
}
.xtx-main-nav .search input{
    width: 172px;
    height: 30px;
    padding-left: 31px;
    border-bottom: 2px solid #e7e7e7;
}
.xtx-main-nav .search input::placeholder{
    color: #ccc;
}
.xtx-main-nav .search::before{
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    width: 18px;
    height: 18px;
    background: url(./images/sprites.png)-80px -70px;
}
.xtx-main-nav .cart{
    position: relative;
    width: 23px;
    height: 23px;
    background: url(./images/sprites.png)-120px -70px;
    margin-top: 28px;
    margin-left: 15px;
}
.xtx-main-nav .cart span{
    position: absolute;
    top: -5px;
    right: -12px;
    width: 20px;
    height: 15px;
    background-color: #e26237;
    color: #fff;
    font-size: 13px;
    text-align: center;
    line-height: 15px;
    border-radius: 8px;
}
/* 网页的底部-------------------------------------------------------- */
.footer-service{
    height: 174px;
    background-color: #333;
}
.footer-service .container{
    width: 1393px;
    height: 174px;
    /* background-color: yellow; */
    border-bottom: 1px solid red;
    box-sizing: border-box;
}
.footer-service .container a{
    float: left;
    width: 33.33%;
    height: 100%;
    font-size: 28px;
    color: white;
    text-align: center;
    line-height: 173px;
}
.footer-service .container:nth-child(1) a::before{
    content: '';
    display: inline-block;
    width: 58px;
    height: 58px;
    vertical-align: middle;
    margin-right: 19px;
    background: url(./images/sprites.png)0 0;
}
.footer-service .container a:nth-child(2)::before{
    content: '';
    display: inline-block;
    width: 58px;
    height: 58px;
    vertical-align: middle;
    margin-right: 19px;
    background: url(./images/sprites.png)-130px 0;
}
.footer-service .container a:nth-child(3)::before{
    content: '';
    display: inline-block;
    width: 58px;
    height: 58px;
    vertical-align: middle;
    margin-right: 19px;
    background: url(./images/sprites.png)-65px 0;
}
footer .copyright{
    height: 168px;
    background-color: #333;
} 
footer .copyright .container{
    height: 168px;
    /* background-color: pink; */
    font-size: 14px;
    color: #999;
    text-align: center;
    padding-top: 41px;
}
footer .copyright .container a{
    color: #999;
}
footer .copyright .container:last-child p{
    height: 32px;
}